package com.flydog.taskManager.repository;

import com.flydog.taskManager.entity.TaskBrief;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface TaskBriefRepository extends JpaRepository<TaskBrief, Long> {
    List<TaskBrief> findByPhaseTaskIdOrderByCreateTimeDesc(Long phaseTaskId);

    List<TaskBrief> findByPeriodicTaskIdOrderByCreateTimeDesc(Long periodicTaskId);


}
